/**
 * Created by rockyren on 14/11/29.
 */
var cartApp = angular.module('cartApp',['ngRoute','commonServices']);

cartApp.config(['$routeProvider',function($routeProvider){
  var tplsUrl = 'ngApp/cart/tpls/';
  $routeProvider
    .when('/',{
      templateUrl: tplsUrl + 'cart-index.html',
      controller: 'cartIndexController'

    })
    .otherwise({
      redirectTo: '/'
    })
}]);